package com.iscas.dataaggregation.mapper.mysql;

import com.iscas.dataaggregation.domain.experiment.Faultinnernode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author mj
* @description 针对表【faultinnernode】的数据库操作Mapper
* @createDate 2024-11-24 20:50:10
* @Entity com.iscas.dataaggregation.domain.experiment.Faultinnernode
*/
@Mapper
public interface FaultinnernodeMapper extends BaseMapper<Faultinnernode> {
    // 确保未定义手动方法覆盖 selectList
    @Select("SELECT * FROM faultinnernode")
    List<Faultinnernode> selectList(); // 不需要这样定义，交给 BaseMapper 处理

    // 根据 fault_config_id 和 node_type 查询记录
    List<Faultinnernode> selectByFaultConfigIdAndNodeType(@Param("faultConfigId") int faultConfigId, @Param("nodeType") String nodeType);


}




